package com.su.kddq.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.su.kddq.entity.user.Address;
import com.su.kddq.mapper.user.AddressMapper;

import java.util.List;

/**
 * @author sx
 */
public interface AddressService extends IService<Address> {
    /**
     * 新增地址
     * @param address
     * @return
     */
    boolean addAddress(Address address);

    /**
     * 地址列表ById
     * @return
     */
    List<Address> getAddressList();

}
